<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ include file="/commons/jsp/taglibs.jsp"%>
	<script type="text/javascript">
	$(function(){
			//给用户名输入框绑定样式和验证条件
			$('#oldPsw').validatebox({
				required: true,
				validType:['minLength[6]','isNull'],
				missingMessage:'请输入原密码！'
			});
			//给密码框绑定验证条件
			$('#psw').validatebox({
				required: true,
				validType:['minLength[6]', 'isNull'],
				missingMessage:'请输入新密码！'
			});
			//给密码框绑定验证条件
			$('#psw1').validatebox({
				required: true,
				validType:['minLength[6]', 'isNull'],
				missingMessage:'请确认新密码！'
			});
	});
	</script>
			<form name="addDataForm" id="updatePswDataForm" method="post" action="${ctx}/framework/user/savePassword">
				<table class="infoTable">
					<tbody>
					<tr>
						<th align="right" width="10%">原始密码</th>
						<td><input id="oldPsw" type="password" name="oldPsw"  class="easyui-validatebox" size="15" value=""  maxlength="20"/>
						</td>
					</tr>
					<tr>
						<th align="right" width="10%">新的密码</th>
						<td><input id="psw" type="password" name="psw"  class="easyui-validatebox" size="15" value="" maxlength="20"/>
						</td>
					</tr>
					<tr>
						<th align="right" width="10%">重复密码</th>
						<td><input id="psw1" type="password" name="psw1" class="easyui-validatebox" size="15" value="" maxlength="20"/>
						</td>
					</tr>
					</tbody>
				</table>
			</form>
